package cn.youfule.dp.cop.part2.filter;

public class HTMLFilter implements Filter {

	@Override
	public void doFilter(Request request, Response response,FilterChain chain) {
		request.setRequestStr(request.getRequestStr().replace("<", "[").replace(">","]"));
		chain.doFilter(request, response, chain);
		response.setResponseStr(response.getResponseStr()+"--htmlFilter");
	}

}
